package com.wiz.common;

/**
 * HAKENY 需设置
 * 支付宝服务窗环境常量
 */
public class AlipayServiceEnvConstants {

    /**支付宝公钥-从支付宝服务窗获取*/
    public static final String ALIPAY_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB";

    /**签名编码-视支付宝服务窗要求*/
    public static final String SIGN_CHARSET      = "UTF-8";

    /**字符编码-传递给支付宝的数据编码*/
    public static final String CHARSET           = "UTF-8";

    /**签名类型-视支付宝服务窗要求*/
    public static final String SIGN_TYPE         = "RSA";
    
    
    public static final String PARTNER           = "2088911227080000";

    /** 服务窗appId  */
    //TODO !!!! 注：该appId必须设为开发者自己的服务窗id  这里只是个测试id 目前为微致科技汽车加油服务
    public static final String APP_ID            = "2016011801102783";

    //开发者请使用openssl生成的密钥替换此处  请看文档：https://fuwu.alipay.com/platform/doc.htm#2-1接入指南
    //TODO !!!! 注：该私钥为测试账号私钥  开发者必须设置自己的私钥 , 否则会存在安全隐患 
    public static final String PRIVATE_KEY       = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBALcbgiFtXFLfAulGPwkH95mnPEh1OUlsFobmcSJ+Q5pSL7Y5J2AfhQESHyj8b+AOnviU3OEUxZWSOwiXRwQgykABlH+fJrd1353giY8uTGxZbf0hf3Sqau49nCLie4QnQC02Rj1NwdkjabqgJkISXgwIaoJdfzZg7jDj4QMDcJWtAgMBAAECgYBM3Jk1WuikSMS6Eyimq9d9gjvF1p8jeOHD4rue1Q2fm9w3S6qBqPl1x5uY4s47aSfGBQbq3INME8QACTBgRTtgCPuQgYlxa7grNwac5S0o/5jhFaE+IIbGK9+5UqSDcUKlDoDVkg5ipuuvkxvBj3Q3uWgiVT1mZGfEAZd20v5E6QJBAN0KlqTUGMZn0mUKvBJ9wWejk+V/mzR2V1pOX2WjJZ82aDYTlPQGHVh14pg6MGzDhOF5qrcsfCQaYST+MWx4n0MCQQDUERInlg8IHjDZADF9M0eIrK6rN9p8jdkQZnMoS4kw3Ip1CpYorI8FKna5G+mjw154lyNGEUGGmgAo8FOkW9BPAkATHshbJ7Gg7/gmH2CXZONm+KJhdsFRL29s81yTKSKm/AjVrKn01daSAViBfH8V2W/UJTccMy/l25ZNoeNak7CLAkEAyDriEFyADuMqrgmfsJ4VYbfiKCnRcp8gH3sMKjS/8VGarY30X60mUPNaK8duH8Dc1zGlDYhHfUa09fKMlvhVwwJBAIcZBl/vjvPeQN2cWPxZ9Cgjv6Sr7DR5TTNi3Z9ri+0SLapOaTbCojBE5YqhfHHIR1WhwweBs9dN2GO58pkA3aA=";

    //TODO !!!! 注：该公钥为测试账号公钥  开发者必须设置自己的公钥 ,否则会存在安全隐患
    public static final String PUBLIC_KEY        = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3G4IhbVxS3wLpRj8JB/eZpzxIdTlJbBaG5nEifkOaUi+2OSdgH4UBEh8o/G/gDp74lNzhFMWVkjsIl0cEIMpAAZR/nya3dd+d4ImPLkxsWW39IX90qmruPZwi4nuEJ0AtNkY9TcHZI2m6oCZCEl4MCGqCXX82YO4w4+EDA3CVrQIDAQAB";

    /**支付宝网关*/
    public static final String ALIPAY_GATEWAY    = "https://openapi.alipay.com/gateway.do";

    /**授权访问令牌的授权类型*/
    public static final String GRANT_TYPE        = "authorization_code";
}